package bean;

public class Detail {
    private int dno;
    private String fromNo;
    private String operate;
    private String toNo;
    private String toUser;
    private float money;
    private String date;

    public Detail() {
    }

    public Detail(String fromNo, String operate, float money, String date) {
        this.fromNo = fromNo;
        this.operate = operate;
        this.money = money;
        this.date = date;
    }

    public Detail(String fromNo, String operate, String toNo, String toUser, float money, String date) {
        this.fromNo = fromNo;
        this.operate = operate;
        this.toNo = toNo;
        this.toUser = toUser;
        this.money = money;
        this.date = date;
    }

    public int getDno() {
        return dno;
    }

    public void setDno(int dno) {
        this.dno = dno;
    }

    public String getFromNo() {
        return fromNo;
    }

    public void setFromNo(String fromNo) {
        this.fromNo = fromNo;
    }

    public String getOperate() {
        return operate;
    }

    public void setOperate(String operate) {
        this.operate = operate;
    }

    public String getToNo() {
        return toNo;
    }

    public void setToNo(String toNo) {
        this.toNo = toNo;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public float getMoney() {
        return money;
    }

    public void setMoney(float money) {
        this.money = money;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Detail{" +
                "dno=" + dno +
                ", fromNo='" + fromNo + '\'' +
                ", operate=" + operate +
                ", toNo='" + toNo + '\'' +
                ", toUser='" + toUser + '\'' +
                ", money=" + money +
                ", date=" + date +
                '}';
    }
}
